package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 攻略评论回复类
 */
@Getter
@Setter
public class StrategyReplyComment extends BaseDomain{

    private User commentUser;//评论人

    private User replyUser;//回复人
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8" )
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;//创建时间

    private String content;//内容

    private StrategySunComment strategySunComment;//回复的评论

    private Integer state = 1;//状态

}